export const getImageUrl = (name:string,type:string='png') => {
    return new URL(
      // 本地资源路径
      `../assets/image/base/${name}.${type}`,
      import.meta.url
    ).href;
  };